package myarraylist;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(1);
        myArrayList.add(1);
        myArrayList.add(1);
        myArrayList.add(4,666);
        myArrayList.display();
        myArrayList.remove(666);
        myArrayList.display();
    }
}
